add_demo(bar_label_demo bar_label_demo.cpp)
add_demo(fill fill.cpp)
add_demo(simple_plot simple_plot.cpp)
add_demo(scatter_symbol scatter_symbol.cpp)
add_demo(fill_between_demo fill_between_demo.cpp)
add_demo(fill_betweenx_demo fill_betweenx_demo.cpp)
add_demo(scatter_with_legend scatter_with_legend.cpp)
add_demo(scatter_hist scatter_hist.cpp)
add_demo(errorbar_limits_simple errorbar_limits_simple.cpp)
add_demo(errorbar_subsample errorbar_subsample.cpp)
add_demo(step_demo step_demo.cpp)

add_custom_target(
  lines_bars_and_markers
  DEPENDS bar_label_demo
          fill
          simple_plot
          scatter_symbol
          fill_between_demo
          fill_betweenx_demo
          scatter_with_legend
          scatter_hist
          errorbar_limits_simple
          errorbar_subsample
          step_demo
  COMMAND bar_label_demo
  COMMAND fill
  COMMAND simple_plot
  COMMAND scatter_symbol
  COMMAND fill_between_demo
  COMMAND fill_betweenx_demo
  COMMAND scatter_with_legend
  COMMAND scatter_hist
  COMMAND errorbar_limits_simple
  COMMAND errorbar_subsample
  COMMAND step_demo
  COMMENT "running lines_bars_and_markers"
  WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../images")
